﻿@{
    var action = ViewContext.Controller.ValueProvider.GetValue("action").RawValue.ToString();
    var controller = ViewContext.Controller.ValueProvider.GetValue("controller").RawValue.ToString();
    var returnUrl = "/Admin/" + controller;
    ViewBag.Title = "Admin" + controller;  
}
<div id="indexView" class="table">       
    <script type="text/javascript">
        var root = "@Request.ApplicationPath";
        var controller = '@controller';
        var createObjLink = "";
        if (controller == 'Match' || controller == 'SoccerTeam' || controller == 'League') {
            createObjLink = '/Admin/' + controller + '/Modify';
        } 
    </script>

    <div class="head_table">
        <div class="head_title_table" id="Module_Content">@action</div>
    </div>

    <div class="clearAll"></div>	
	
    <div id="ajax_loadContent">    
    </div>
</div>

<div class="clearAll"></div>	
	
